package com.cn.aam.checaiduo.ui.more;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.cn.aam.checaiduo.R;
import com.cn.aam.checaiduo.base.ToolBarManager;
import com.cn.aam.checaiduo.base.web.BaseWebActiivity;
import com.cn.aam.checaiduo.center.CustomDialogCenter;
import com.cn.aam.checaiduo.ui.arouter.UIRouter;
import com.cn.aam.checaiduo.ui.arouter.section.RouterMore;

/**
 * @author 微木森林
 * @time 2017/6/7 下午5:53
 * @description 实名认证第二步   设置支付密码
 * @remark
 */
@Route(path = UIRouter.MORE.AUTH_STEP02, name = "实名认证第2步")
public class AuthStep02Activity extends BaseWebActiivity {


    @Override
    protected void initView() {
        super.initView();
        //toolbar
        ToolBarManager.with(this, WMContent).setNavigationIcon(-1);
    }


    @Override
    public void onBackPressed() {
        CustomDialogCenter.getInstance()
                .showTipsDialog(mContext, "实名认证还未完成，是否退出", "退出", "继续认证", new CustomDialogCenter.OnTipClick() {
                    @Override
                    public void onLeftButtonClick() {
                        finish();
                        overridePendingTransition(0, R.anim.slide_right_out);
                    }

                    @Override
                    public void onRightButtonClick() {

                    }
                });
    }
}
